﻿<UserControl x:Class="FindDuplicates.Plugin.CompareImagesView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:y="clr-namespace:WpfImageDuplicates;assembly=WpfImageDuplicates"
             xmlns:local="clr-namespace:FindDuplicates.Plugin"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d">
    <Grid Height="600" Width="800">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0.25*"/>
            <ColumnDefinition Width="0.25*"/>
            <ColumnDefinition Width="0.25*"/>
            <ColumnDefinition Width="0.25*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="30" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <y:ImageControl Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" x:Name="imgMain1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" />
        <y:ImageControl Grid.Row="1" Grid.Column="2" Grid.ColumnSpan="2" x:Name="imgMain2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" />
        <Button Content="Duplicate" x:Name="btnDuplicate" Grid.Column="3" 
                Command="{x:Static local:CompareWindowHandler.DuplicatesCommand}" />
        <Button Content="All Duplicates" x:Name="btnAllDuplicates" Grid.Column="0"
                Command="{x:Static local:CompareWindowHandler.AllDuplicatesCommand}"/>
        <Button Content="Not Duplicate" x:Name="btnNotDuplicate" Grid.ColumnSpan="2" Grid.Column="1" 
                Command="{x:Static local:CompareWindowHandler.NotDuplicatesCommand}"/>
    </Grid>
</UserControl>
